package com.example.zselasticsearchsf.buiderTest;

/**
 * @Author: Steven
 * @Date: 2023/5/25 13:48
 */
//抽象的建造者
public abstract class HouseBuilder {
    protected House house=new House();
    //将建造的流程写好，抽象的方法
    public abstract void buildBasic();
    public abstract void buildWall();
    public abstract void roofed();

    //建造
    public House buildHouse(){
        return house;
    }



}
